<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/WEB-INF/struts-tags.tld"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<meta http-equiv="pragma" content="no-cache" />
		<title>欢迎访问产品运营互动中心！</title>
		<link rel="stylesheet" href="<s:url value="/css/style_new.css"/>">
		<link href="<s:url value="/images/08_ccxxzx.css"/>" rel="stylesheet" type="text/css" />
		<script type="text/javascript"
			src="<s:url value="/script/selfResize.js"/>"></script>
		<script>
function show(url){
	window.open(url);
}
function initLoad(){
	f_iframeResize();
}
window.onload = initLoad;
</script>
		<script type="text/javascript"
			src="<s:url value="/script/sysOper.js"/>"></script>
		<script>
</script>
	</head>
	<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0">
		<s:form id="form1"
			action="/business/catalog/listProductSort.action"
			method="post">
			<table width="980" border="0" cellspacing="0" cellpadding="0"
				align="center">
				<tr>
					<td>
						<table width="100%" border="0" cellpadding="0" cellspacing="0"
							background="<s:url value="/images/new/gxzl_index_2.gif"/>">
							<tr>
								<td width="20" height="32">
									&nbsp;
								</td>
								<td width="20">
									<img src="<s:url value="/images/new/dq_dot.gif"/>" width="15"
										height="12" />
								</td>
								<td>
									当前位置：产品目录维护
								</td>
								<td width="80">
									产品目录搜索
								</td>
								<td width="200">
									<input name="conds.name" type="text" style="width: 99%"
										value="" onFocus="this.value=''" />
								</td>
								<td width="80">
									<div align="center">
										目录类型
									</div>
								</td>
								<td width="100">
									<select name="conds.sortType">
										<option value="">
											请选择
										</option>
										<option value="1">
											集团产品目录
										</option>
										<option value="2">
											福建省产品目录
										</option>
									</select>
								</td>
								<td width="100">
									<input type="submit" name="Submit" value="搜索" />
								</td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td background="<s:url value="/images/home_4a.gif"/>">
						<table width="100%" height="400" border="0" cellspacing="0"
							cellpadding="0" align="center" bgcolor="#FFFFFF">
							<tr>
								<td width="240" valign="top">
									<%@ include file="/commons/include/catalog_left.inc"%>
								</td>
								<td valign="top">
									<table width=98% align="center" border="0" cellspacing="0"
										cellpadding="0">
										<br />
										<tr>
											<td height="5">
												<table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="5" height="5"><img src="<s:url value="/images/cphdzx_tab1.gif"/>" width="5" height="5" /></td>
														<td class="tdborderup"><img src="<s:url value="/images/spacer.gif"/>" width="1" height="1" /></td>
														<td width="5"><img src="<s:url value="/images/cphdzx_tab2.gif"/>" width="5" height="5" /></td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td class=tdborderleftright>
												<TABLE width="98%" cellSpacing=1 cellPadding=0
													align="center">
													<TR height=30>
														<TD align=left width="10%">
															<input type="button" name="new" value="新 增"
																onClick="location.href='editProductSort.action'">
															<input type="button" name="remove"
																onclick="if(!confirm('您正在删除福建省产品目录信息，是否确认删除?'))return false;forms[0].action='batchDelProductSort.action';forms[0].submit();"
																value="删 除">
		
														</TD>
													</TR>
												</table>
												<input type="hidden" name="pageControl.usePage"
													value="${pageControl.usePage}" />
												<input type="hidden" name="pageControl.pageNo"
													value="${pageControl.pageNo}" />
												<input type="hidden" name="pageControl.totalPage"
													value="${pageControl.totalPage}" />
												<input type="hidden" name="pageControl.pageSize"
													value="${pageControl.pageSize}" />
												<table width="98%" border="0" cellspacing="0"
													cellpadding="7" align="center" class=tablecolor2>
													<tr>
														<td colspan="8" align="right">
															<s:if test="pageControl.useFrontPage">
																<a href="#"
																	onclick="document.all('pageControl.pageNo').value=${pageControl.pageNo-1};submit();">上一页</a>
															</s:if>
															<s:if test="pageControl.useNextPage">
																<a href="#"
																	onclick="document.all('pageControl.pageNo').value=${pageControl.pageNo+1};submit();">下一页</a>
															</s:if>
															第${pageControl.pageNo}页 共${pageControl.totalPage}页
															总${pageControl.total}条记录 每页${pageControl.pageSize}条记录
														</td>
													</tr>
													<tr>
														<td bgcolor="9AC2EB" width="60px">
															<div align="center">
																<font color="#FFFFFF">选择<label id="labSel"
																		onclick="javascript:selAll('dCancel','dAll','ids');"
																		style="cursor:hand">
																		<div id="dAll">
																			[全选]
																		</div>
																		<div id="dCancel" style="display:none">
																			[取消]
																		</div>
																	</label>
																</font>
															</div>
														</td>
														<td bgcolor="9AC2EB">
															<div align="center">
																<font color="#FFFFFF">目录名称 </font>
															</div>
														</td>
														<td bgcolor="9AC2EB" width="60px">
															<div align="center">
																<font color="#FFFFFF">目录类型 </font>
															</div>
														</td>
														<td bgcolor="9AC2EB" width="60px">
															<div align="center">
																<font color="#FFFFFF">创建人</font>
															</div>
														</td>
														<td bgcolor="9AC2EB" width="60px">
															<div align="center">
																<font color="#FFFFFF">创建时间</font>
															</div>
														</td>
														<td bgcolor="9AC2EB" width="100px">
															<div align="center">
																<font color="#FFFFFF">操作</font>
															</div>
														</td>
													</tr>
													<s:iterator value="pageControl.results">
														<tr>
															<td>
																<div align="center">
																	<input type="checkbox" name="ids"
																		value="<s:property value="id" />">
																</div>
															</td>
															<td>
																<div align="center">
																	<s:property value="name" />
																</div>
															</td>
															<td>
																<div align="center">
																	<s:if test="sortType==2">福建省产品目录</s:if>
																	<s:elseif test="sortType==1">集团产品目录</s:elseif>
																</div>
															</td>
															<td>
																<div align="center">
																	<s:property value="creator" />
																</div>
															</td>
															<td>
																<div align="center">
																	<s:date name="begin" format="yyyy-MM-dd" />
																</div>
															</td>
															<td width="100px">
																<div align="center">
																	<a href="editProductSort.action?productSort.id=${id}">编辑</a>
																	<a onclick="return confirm('您正在删除福建省产品目录信息，是否确认删除?');"
																		href="delProductSort.action?productSort.id=${id}">删除</a>
																	<a
																		href="../ref/listProductRefSort.jsp?id=${id}">产品</a>
																</div>
															</td>
														</tr>
													</s:iterator>
													<tr>
														<td colspan="8" align="right">
															<s:if test="pageControl.useFrontPage">
																<a href="#"
																	onclick="document.all('pageControl.pageNo').value=${pageControl.pageNo-1};submit();">上一页</a>
															</s:if>
															<s:if test="pageControl.useNextPage">
																<a href="#"
																	onclick="document.all('pageControl.pageNo').value=${pageControl.pageNo+1};submit();">下一页</a>
															</s:if>
															第${pageControl.pageNo}页 共${pageControl.totalPage}页
															总${pageControl.total}条记录 每页${pageControl.pageSize}条记录
														</td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td height="5">
												<table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="5" height="5"><img src="<s:url value="/images/cphdzx_tab3.gif"/>" width="5" height="5" /></td>
														<td class="tdborderbottom"><img src="<s:url value="/images/spacer.gif"/>" width="1" height="1" /></td>
														<td width="5"><img src="<s:url value="/images/cphdzx_tab4.gif"/>" width="5" height="5" /></td>
													</tr>
												</table>
											</td>
										</tr>
									</table>
									</s:form>
	</body>
</html>
<script>
if("${conds.sortType}"==1){
	document.forms[0]["conds.sortType"].options[1].selected=true;
}
if("${conds.sortType}"==2){
	document.forms[0]["conds.sortType"].options[2].selected=true;
}

var obj1=document.getElementById("iTR3");
if(obj1){
	obj1.style.backgroundColor="B3DEF4";
}
</script>
